#ifndef APP_H
#define APP_H


/* Include */
#include "..\HAL\HAL.h"
#include <lvgl.h>
#include <ArduinoJson.h>


/* Message struct */
struct JSON_Message
{
    String Codehead;
    int    Servo_L[8];
    int    Servo_R[8];
    int    Servo_T[5];
};


/* Queues handle */
extern xQueueHandle Queue_2_App_GUI;
extern xQueueHandle Queue_2_App_ServoDriver;

/* App init */
void App_init();

/* Applications */
void App_GUI();
void App_JSON();
void App_ServoDriver();


#endif
